<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Event Builder - Login</title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <ui:composition template="/template.xhtml">
            <ui:define name="title"></ui:define>
            <ui:define name="body">
                <div id="logBox">
                    <form id="logForm" name="loginForm" method="post" action="j_security_check">
                        <p>
                            <label for="username">Utilizador: </label>
                            <input id="username" type="text" name="j_username" />
                        </p>
                        <p>
                            <label for="password">Password: </label>
                            <input id="password" type="password" name="j_password" />
                        </p>
                        <p>
                            <input type="submit" value="Login"/>
                            <input type="reset" value="Limpar"/>
                        </p>
                    </form>
                </div>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

